package edu.jhu.teamc.classproject.service;

import java.util.List;

import edu.jhu.teamc.classproject.dao.OrderDao;
import edu.jhu.teamc.classproject.model.Order;
import edu.jhu.teamc.classproject.model.Person;

/**
 * Manager class that talks to {@link OrderDao}.
 */
public interface OrderManager extends IdentifiableManager<Order> {

    /**
     * Gets Orders based on a person
     * 
     * @param person
     *            the person to search by
     * @return a list of Orders
     */
    List<Order> getForPerson(Person person);
}